﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace QLKS.Views
{
    /// <summary>
    /// Interaction logic for frmBCChiTietMatDoSuDungPhong.xaml
    /// </summary>
    public partial class frmBCChiTietMatDoSuDungPhong : Window
    {
        int nam = 0;
        int ky = 0;
        string maphong = "";
        public frmBCChiTietMatDoSuDungPhong(int nam, int ky, string maphong)
        {
            InitializeComponent();
            this.nam = nam;
            this.ky = ky;
            this.maphong = maphong;

        }

        private void FormTrans_Loaded(object sender, RoutedEventArgs e)
        {
            mainContent.StringBrowse = "maphong:Mã phòng:100;ngaythue:Ngày thuê:100;giothue:Giờ thuê:100;ngaytra:Ngày trả:100;giotra:Giờ trả:100;tenkh:Khách hàng:150;tongtien: Tiền VND:100;tongtiennt:Tiền USD:100;tenloaithue:Loại thuê:100";
            mainContent.TableSource = ViewModels.BaoCaoViewModel.GetChiTietBCMatDoSuDungPhong(nam, ky, maphong);
        }
    }
}
